Staff Availability
Available codes should have the Unavailable check box disabled and unavailable codes should have the Unavailable check box enabled.
Set these two codes up (and any others required), and then set the field against each staff record.
These values can then be used in the Timetable search windows to filter out staff who are no longer employed at the institution, or who do not teach.